package net.flyinggroup.gateway.config;

import net.flyinggroup.spring.env.YamlPropertySourceFactory;
import net.flyinggroup.spring.liveness.reactive.LivenessConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

/**
 * 引入存活器配置，需要同步增加相应的配置信息。
 * @author Walker Zhang
 */
@Configuration
@Import(LivenessConfiguration.class)
@PropertySource(value = "classpath:/config/liveness.yaml", factory = YamlPropertySourceFactory.class)
public class LivenessConfig {
}